package com.example.testdemoforjenkins.controller;


import com.example.testdemoforjenkins.model.People;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestDemoController {

    @RequestMapping("/getList")
    public Object getList() {
        People people = new People();
        people.setName("zx4");
        people.setAge(26);
        people.setGender(1);
        people.setSalary(16000);
        return people;
    }

}
